* {
  border: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  outline: none;
}

body {
  font: 16px 'Helvetica Neue', 'Arial', 'Hiragino Sans GB',
    'WenQuanYi Micro Hei', 'Microsoft YaHei', 'sans-serif';
}

.clearfix:after {
  content: '';
  display: block;
  clear: both;
}

.font-w {
  font-weight: bold;
}

.co {
  color: #f80;
}

.cr {
  color: #fc588c;
  font-weight: bold;
}

/* 主体内容 */
html,
body,
.activity-page {
  height: 100%;
}

.activity-page {
  overflow-y: auto;
}

.activity-con {
  min-height: 100%;
  /* background:url("../images/bg.png")top center no-repeat, linear-gradient(-180deg, red, green); */
  background: url('../images/bg.png') top center no-repeat;
  background-size: cover;
}

.loading {
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
}

.loading .loading-i {
  text-align: center;

  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.act-banner {
  padding-top: 100px;
}

.web-banner {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.move-banner {
  display: none;
}

.act-panel {
  position: relative;
  color: #000;
  background: #fff;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 60px 50px 20px 70px;
  max-width: 1000px;
  box-shadow: 20px 20px 24px 0 rgba(0, 0, 0, 0.18);
  margin: 0 auto 60px;
}

.panel-intro {
  background: #ffffff url('../images/panel_bg.png') bottom right no-repeat;
  padding-bottom: 60px;
}

.web-intro {
  font-size: 20px;
  margin-bottom: 27px;
}

.move-intro {
  display: none;
}

.act-panel .intro-img {
  display: block;
  width: 324px;
  margin-bottom: 53px;
}

.intro-tag {
  display: inline-block;
  background: url('../images/intro_bg.png') top center no-repeat;
  background-size: contain;
  padding: 10px 42px 11px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.act-panel h3 {
  position: absolute;
  top: -6px;
  width: 170px;
  height: 59px;
  background: url('../images/title_bg.png') top center no-repeat;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.act-panel .intro-ul,
.act-panel .rule-ul {
  margin-top: 36px;
}

.act-panel .intro-order {
  width: 53px;
  flex: none;
  margin-right: 20px;
}

.act-panel .intro-con {
  display: flex;
  align-items: center;
}

.act-panel .intro-text {
  font-size: 18px;
}

.act-panel .p-tip {
  font-size: 14px;
  margin-top: 12px;
}

.act-panel .btn-con img {
  display: block;
  margin: 43px auto 47px;
  width: 237px;
}

.act-panel .btn-con img:hover {
  cursor: pointer;
}

.rule-ul {
  margin-bottom: 36px;
}

.rule-ul li {
  margin-bottom: 16px;
}

.web-show {
  display: block;
}

.move-show {
  display: none;
}

/* 翻牌弹层 */
.gift-pop,
.share-pop {
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
}

/* web端分享 */
.share-pop .code {
  text-align: center;
  margin: 8% auto 0;
}

.share-pop .code img {
  width: 400px;
  height: 400px;
}

.gift-pop-con {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
  overflow-y: auto;
}

.close-i {
  position: absolute;
  right: -20px;
  top: -30px;
  color: #999;
}

.close-i i {
  font-size: 34px;
}

.close-i:hover i {
  color: #ff3c5b;
}

.close-i:hover {
  cursor: pointer;
}

.gift-open {
  position: relative;
  width: 435px;
  margin: 8% auto 0;
}

.gift-open:hover {
  cursor: pointer;
}

.gift-open img {
  display: block;
  margin: 0 auto 20px;
}

.gift-img:hover {
  -webkit-animation: giftOpen 1.2s linear infinite;
  animation: giftOpen 1.2s linear infinite;
}

/* 二维码分享 */
.modal-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 12;
}

.modal-content {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.modal-center {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 4px;
  background: #ffffff;
  overflow: hidden;
}

.modal-content .code {
  transform: translate(-200px, -205px);
  width: 400px;
  height: 409px;
}

.modal-header {
  height: 49px;
  padding: 15px 24px;
  box-sizing: border-box;
  border: 1px solid #e6e6e6;
}

.modal-header .close-i {
  right: 15px;
  top: 15px;
}

.modal-header .close-i i {
  font-size: 23px;
}

.modal-header .title {
  float: left;
  color: #666;
}

.modal-intro .code-img {
  width: 240px;
  height: 240px;
  margin: 40px auto 20px;
  background: #dddddd;
}

.modal-intro .code-img img {
  width: 256px;
  height: 256px;
}

.modal-intro .intro {
  width: 100%;
  text-align: center;
}

@-webkit-keyframes giftOpen {
  0%,
  100%,
  90% {
    transform: rotate(0) scale(1);
  }

  20%,
  40% {
    transform: rotate(-15deg) scale(1.1);
  }

  30%,
  50% {
    transform: rotate(15deg) scale(1.1);
  }
}

@keyframes giftOpen {
  0%,
  100%,
  90% {
    transform: rotate(0) scale(1);
  }

  20%,
  40% {
    transform: rotate(-15deg) scale(1.1);
  }

  30%,
  50% {
    transform: rotate(15deg) scale(1.1);
  }
}

.gift-box,
.gift-null {
  width: 718px;
  height: 351px;
}

.gift-box {
  background: url('../images/gift_bg.png') top center no-repeat;
  background-size: cover;
}

.gift-null {
  background: url('../images/gift_null_bg.png') top center no-repeat;
  background-size: cover;
}

.gift-box h3 {
  margin: 0 20px 0 330px;
  text-align: center;
  padding-top: 48px;
  font-size: 32px;
  font-weight: bold;
  background: linear-gradient(180deg, #ff5f18 50%, #ff3c5b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gift-result {
  position: relative;
  width: 720px;
  margin: 8% auto 0;
}

.gift-result .gift-null .gift-detail .share-tips {
  margin-left: 20px;
}

.gift-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 25px 20px 0 330px;
  height: 195px;
  color: #fff;
  font-size: 24px;
}

.gift-null .gift-detail {
  padding-top: 116px;
  margin: 0 20px 0 330px;
}

.gift-detail p {
  margin-bottom: 14px;
}

.gift-detail .limit-num {
  font-weight: bold;
}

.gift-detail .gift-a {
  padding: 8px 24px 10px;
  margin-top: 10px;
  display: inline-block;
  background: #fff;
  border-radius: 30px;
  font-weight: bold;
  color: #ff404e;
  box-shadow: 6px 6px 10px 0 rgb(242, 108, 69, 0.8);
}

.gift-detail .gift-a:hover {
  cursor: pointer;
  box-shadow: 6px 6px 10px 0 #ff404e;
}

.gift-detail .gift-tip {
  display: none;
}

.share-tip {
  margin: -20px 20px 0 330px;
  text-align: center;
}

.gift-pop .share-box {
  display: flex;
  align-items: center;
  padding-left: 60px;
  margin-top: 30px;
}

.gift-pop .share-ul {
  display: flex;
  align-items: center;
}

.gift-pop li {
  display: flex;
  padding: 6px 10px;
  background: #ffffff;
  margin-right: 14px;
  box-shadow: 6px 6px 7px 0px rgba(0, 0, 0, 0.16);
  border-radius: 10px;
}

.gift-pop li:hover {
  cursor: pointer;
  background-color: #fafafa;
  box-shadow: 6px 6px 7px 0px rgba(0, 0, 0, 0.3);
}

.gift-pop li img {
  margin-right: 8px;
}

.gift-pop li:last-of-type {
  margin-right: 0;
}

/* 气泡提示 */
.cus-tip-con {
  position: fixed;
  top: 35vh;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 101;
}

.tip-color {
  display: inline-block;
  min-width: 189px;
  min-height: 51px;
  max-width: 500px;
  padding: 15px 10px;
  /* line-height:51px; */
  text-align: center;
  border-radius: 6px;
  box-sizing: border-box;
  z-index: 102;
}

.tip-warn {
  color: #814800;
  border: 1px solid #e1b038;
  box-shadow: 0px 0px 6px rgba(205, 136, 63, 0.4);
  background: #ffeab1;
}

.tip-success {
  color: #007a25;
  border: 1px solid #5fe287;
  box-shadow: 0px 0px 6px rgba(119, 199, 94, 0.4);
  background: #bff7d0;
}

.tip-error {
  color: #f44c4c;
  border: 1px solid #ffa9a9;
  box-shadow: 0px 0px 6px rgba(195, 65, 65, 0.4);
  background: #ffd1d1;
}

/* footer */
.act-footer {
  text-align: center;
  font-size: 14px;
  color: #fff;
  padding: 0px 0 50px;
  line-height: 22px;
}

@media only screen and (max-width: 767px) {
  html {
    font-size: calc(100vw / 37.5);
  }

  body {
    font: 1.4rem #333 'Helvetica Neue', 'Arial', 'Hiragino Sans GB',
      'WenQuanYi Micro Hei', 'Microsoft YaHei', 'sans-serif';
  }

  * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    list-style-type: none;
  }

  .web-show {
    display: none;
  }

  .share-pop,
  .move-show {
    display: block;
  }

  /* 主体内容 */
  .activity-con {
    background: url('../images/bg_m.png') top center no-repeat;
    background-size: cover;
  }

  .act-banner {
    padding: 5.9rem 2.1rem 0 2.7rem;
    margin-bottom: 2.4rem;
  }

  .web-banner {
    display: none;
  }

  .move-banner {
    max-width: 100%;
    display: block;
  }

  .act-panel {
    max-width: 100%;
    padding: 6.1rem 3rem 1.2rem;
    text-align: center;
    margin: 0 1.2rem 3rem;
    box-shadow: 1rem 1.2rem 1.6rem 0 rgba(0, 0, 0, 0.2);
  }

  .web-intro {
    display: none;
  }

  .move-intro {
    display: block;
    position: absolute;
    top: -10.7rem;
    left: 1.6rem;
    padding: 2rem 0.4rem 2rem 1.6rem;
    border-radius: 0.6rem;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 1rem 1.2rem 1.2rem 0 rgba(0, 0, 0, 0.17);
    font-size: 1.2rem;
    text-align: left;
    line-height: 1.7;
    z-index: 2;
  }

  .panel-intro {
    margin-top: 15rem;
    background: #ffffff url('../images/panel_bg.png') bottom right no-repeat;
    background-size: 65%;
    padding-bottom: 2rem;
  }

  .panel-intro .move-banner {
    position: absolute;
    right: 0;
    top: -13rem;
    width: 22.8rem;
  }

  .act-panel .intro-img {
    width: 21.6rem;
    margin: 0.8rem auto 2rem;
  }

  .intro-tag {
    display: block;
    width: 100%;
    font-size: 1.6rem;
    margin: 0 auto;
    padding: 0.8rem 0 0.9rem;
    text-align: center;
  }

  .act-panel h3 {
    top: -0.3rem;
    width: 11rem;
    height: 4.3rem;
    font-size: 1.6rem;
    background: url('../images/title_bg_m.png') top center no-repeat;
    background-size: contain;
  }

  .act-panel .intro-con {
    flex-direction: column;
  }

  .act-panel .intro-ul,
  .act-panel .rule-ul {
    margin-top: 1.2rem;
  }

  .act-panel .intro-order {
    width: 2.7rem;
    margin: 0 0 1.6rem 0;
  }

  .act-panel .intro-text {
    font-size: 1.4rem;
    line-height: 1.7;
  }

  .act-panel .p-tip {
    font-size: 1.2rem;
    margin-top: 1.2rem;
    color: #393939;
    text-align: left;
  }

  .act-panel .btn-con img {
    width: 18rem;
    margin: 2.2rem auto 4rem;
  }

  .rule-ul li {
    text-align: justify;
    margin-bottom: 3rem;
    font-size: 1.4rem;
    color: #363636;
  }

  .act-footer {
    font-size: 1.2rem;
    margin: 0 1.6rem;
    padding: 0 0 2rem;
  }

  /* 移动端翻牌弹层 */
  .close-i {
    right: 2rem;
    top: -3rem;
  }

  .close-i i {
    font-size: 2.4rem;
  }

  .close-i:hover i {
    color: #ff3c5b;
  }

  .gift-open,
  .gift-result {
    width: 100%;
    margin-top: 36%;
  }

  .gift-open .gift-img {
    margin: 0 auto 1rem;
    width: 24rem;
  }

  .gift-text {
    width: 15rem;
  }

  .gift-box,
  .gift-null {
    width: 34rem;
    height: 16.3rem;
    margin: 0 auto;
  }

  .gift-box h3 {
    margin: 0 0.7rem 0 14rem;
    padding-top: 2.4rem;
    font-size: 1.4rem;
  }

  .gift-detail {
    margin: 1rem 0.8rem 0 15rem;
    height: 9rem;
    font-size: 1.4rem;
  }

  .gift-null .gift-detail {
    padding-top: 5.4rem;
    margin: 2rem 0.8rem 0 14rem;
  }

  .gift-detail p {
    margin-bottom: 0.4rem;
  }

  .gift-detail .gift-a {
    display: none;
    padding: 0.5rem 2.4rem 0.6rem;
    border-radius: 3rem;
    font-size: 1.4rem;
  }

  .gift-detail .gift-tip {
    display: block;
    font-size: 1rem;
    text-align: center;
  }

  .share-tip {
    margin: 0 0.8rem 0 1rem;
    font-size: 1.4rem;
  }

  .gift-pop .share-btn {
    width: 8.8rem;
    display: block;
    text-align: center;
    padding: 0.5rem 0 0.6rem;
    margin: 2rem auto 0;
    background: linear-gradient(180deg, #ff001f 50%, #ff7869 100%);
    border-radius: 3rem;
    font-weight: bold;
    color: #fff;
    box-shadow: 0.2rem 0.2rem 0.3rem 0.1rem rgba(0, 0, 0, 0.5);
  }

  .gift-pop .share-btn:hover {
    cursor: pointer;
    background: #ff001f;
  }

  .cus-title {
    line-height: 4.4rem;
    padding: 0 2rem;
    display: flex;
    font-weight: bold;
    background-color: #fff;
    box-shadow: 0 0.2rem 0.3rem 0 rgba(0, 0, 0, 0.02);
    justify-content: space-between;
  }

  .share-con {
    position: absolute;
    right: 2.2rem;
    width: 18.7rem;
    height: 9.8rem;
    color: #fff;
    margin-top: 1rem;
    font-weight: bold;
    font-size: 1.6rem;
    background: url('../images/share_bg.png') top center no-repeat;
    background-size: contain;
    z-index: 1000;
  }

  .share-con p {
    position: absolute;
    bottom: 0.5rem;
    left: 1.4rem;
    line-height: 3rem;
    font-size: 1.4rem;
  }

  /* 气泡提示 */
  .tip-color {
    margin: 0 2rem;
    min-width: 5rem;
    max-width: 90%;
    min-height: 0;
    padding: 1.1rem 2rem 1rem;
    border-radius: 0.4rem;
    line-height: 1.4;
    box-sizing: border-box;
    z-index: 102;
    border: none;
  }

  .tip-warn,
  .tip-success,
  .tip-error {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.7);
  }
}
